package org.example.schoolbus;

import org.example.schoolbus.controller.QueryController;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

import java.util.HashMap;
import java.util.Map;

@SpringBootTest
public class Querytest {
    @Autowired
    private QueryController queryController;
    @Test
    public void testQuerystation() {
        Map<String,Object>map=new  HashMap<>();
        map.put("route_name","恒");
        System.out.println(queryController.QueryUser(map));
    }
}
